
#pragma once

#include "base/core/singleton.h"
#include "Common/TableDefine.h"


class CampTreasure_crownCfg : public ManualSingleton <CampTreasure_crownCfg>
{
	friend ManualSingleton <CampTreasure_crownCfg>;
public:
	CampTreasure_crownCfg();
	~CampTreasure_crownCfg();
	bool Init(const char *szCfgFile, const char *szSplitChar);
	bool UnInit();
	void Clear();
	const CampTreasure_crownCfgInfo *GetCampTreasure_crownCfgInfo(int32_t treasureColumnId);
	const CampTreasure_crownCfgMap *GetCampTreasure_crownCfgMap() { return &m_CampTreasure_crownCfgMap; }
private:
	CampTreasure_crownCfgMap m_CampTreasure_crownCfgMap;
};

#define  g_MakeCampTreasure_crownCfgTable() (CampTreasure_crownCfg::Instance())
#define  g_GetCampTreasure_crownCfgTable() (CampTreasure_crownCfg::GetInstance())
#define  g_DelCampTreasure_crownCfgTable() (CampTreasure_crownCfg::Destroy())